package com.nk.system.action;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

import com.nk.system.beans.DropdownBean;
import com.nk.system.service.TransactionsService;

public class CommonJSonAction extends ActionBaseSupport {

	/**
	 * 
	 */

    private Logger log = Logger.getLogger(CommonJSonAction.class);
	private static final long serialVersionUID = 1L;

	@Autowired
	private TransactionsService autoMobileService;
	
	/**
     * Field for Form property.
     */
	private List<DropdownBean> dropdownBeanList;
	
	
	@Override
	public String execute() throws Exception {
		
		return SUCCESS;
	}
	public String findBrandSub() throws Exception {
		log.info("#findBrandSub");
		String autobrandNo = getServletRequest().getParameter("autobrandNo");
		
//		dropdownBeanList = autoMobileService.getAutomobileBrandSub(Integer.parseInt(autobrandNo));
		
		return RESULT_JSON;
	}
	
	public List<DropdownBean> getDropdownBeanList() {
		return dropdownBeanList;
	}
	public void setDropdownBeanList(List<DropdownBean> dropdownBeanList) {
		this.dropdownBeanList = dropdownBeanList;
	}

}
